﻿body {
}
/* page jeu-test    */

.jeutest-quiz-background {
    min-height: 100dvh;
    width: 100%;
    background-size: cover;
    margin-top: 25px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.jeutest-quiz-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3)
}

.jeutest-perso {
    color: black;
    text-align: left;
    font-family: 'Segoe UI', sans-serif; /*cursive;*/
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.2rem 0; /* réduit fortement l’espace vertical */
    line-height: 1.3; /* resserre les lignes */
}

.jeutest-reintialise-btn {
    background-color: gold;
    border-radius: 20px;
    border-color: black;
}

.jeutest-button-jeu {
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 1rem;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
    border: none;
    /* background-color: rgba(0,123,255,0.8); /* bleu semi-transparent */
    background-color: #00a000;
    color:#0a0a0a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .button-jeu:hover {
        background-color: rgba(0,123,255,1);
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    }

.jeutest-toggle-title {
    user-select: none;
}

.jeutest-hint {
    font-size: 0.8em; /* plus petit */
    font-weight: normal; /* pas en gras */
    opacity: 0.7; /* plus discret */
    margin-left: 6px;
}
.jeutest-clickable-card {
    display: flex;
    /*align-items: center;*/    
    justify-content: center;/*space-between;*/
    /*padding: 12px 18px;*/
    border-radius: 14px;
    /*cursor: pointer;*/
    font-weight: bold;
    color: black;
    /*background-color:   brown   ;/* #00a000;  couleur par défaut */
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    text-shadow:4px 3px 0px #fff
}
    
.jeutest-clickable-card-btn {
    display: flex;
    /*align-items: center;*/
    justify-content: center; /*space-between;*/
    padding: 12px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    color: black;
    background-color: #00a000; 
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.jeutest-clickable-card-btn:hover,
.jeutest-clickable-card-btn:focus-visible {
    filter: brightness(1.2); /* surbrillance plus claire */
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.jeutest-clickable-card-btn:active {
    filter: brightness(1.1);
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.jeutestjeu-test {
    font-family: 'Segoe UI', sans-serif; /*cursive, sans-serif;*/
    max-width: 800px;
    margin: auto;
    padding: 1rem;
    /*border-radius: 20px;*/
    font-weight: bold;
}
/*concerne l'affichage du domaine */
.jeutest-domaine-tag {
    display: inline-block;
    padding: 0.15em 0.6em;
    margin: 0 0.3em;
    font-weight: 600;
    font-size: 0.95em;
    /*color: #0078d8;*/ /* bleu profond */
    background-color: #e6f0ff; /* bleu très doux */
    border-radius: 12px;
    border: 1px solid rgba(11, 61, 145, 0.3);
    white-space: nowrap;
}
/* Définition Domaine*/
.jeutest-definition {
    font-family: 'Segoe UI', sans-serif; /*cursive,sans-serif;*/
    font-size: 1.05rem;
    margin-bottom: 2rem;
    background-color: #0097ff;
    border-radius: 12px;
    font-weight: bold;
}
.jeutest-definition-text {
    font-family: 'Segoe UI', sans-serif; /*Arial,sans-serif;*/
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    text-indent: 20px;
    border-radius: 12px;
    font-weight: bold;
}
/* Les propriétés de la démonstration : → mis en valeur */
.jeutest-retainer-title {
    font-weight: 700;
    background: rgba(30, 79, 163, 0.12);
    padding: 2px 6px;
    border-radius: 6px;
}

.jeutest-retainer-content {
    font-weight: 400;
    color: #000;
}


/* Conteneur */
.jeutest-fragment-select {    
    text-align: center;
    margin-bottom: 1.5rem;
}
/* Label */
.jeutest-fragment-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.1em;
    color: #272727;
}

/* Select tactile */
.jeutest-fragment-select {
    min-width: 220px;
    padding: 12px 18px; /* 👈 zone doigt */
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 20px;
    background-color: #00a000;    
   /* color: #ffffff;*/
    border: 2px solid #4a5a70;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    /* Survol souris */
    .jeutest-fragment-select:hover {
        background-color: #00a063;
        border-color: #0078ef;
    }

    /* Focus / tactile */
    .jeutest-fragment-select:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(120, 170, 255, 0.4);
    }

    /* Option */
    .jeutest-fragment-select option {
        font-weight: bold;
        color: #000;
    }

.jeutest-result-box {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    margin: 1.2rem 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    color: black;
}

    .jeutest-result-box.success {
        background-color: #e6f4ea;
        color: black;
    }

    .jeutest-result-box.error {
        background-color: #fdecea;
        color: #842029;
    }







@media (max-width: 768px) {
    .jeutest-clickable-card {
        font-size: 1.2rem;
        padding: 10px;
        text-shadow: 1px 1px 0px #fff;
    }

    .jeutest-perso {
        font-size: 1rem;
    }

    .retour-btn {
        top: 10px;
        right: 10px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }
}